Initializes a new instance of the class.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As Long, _
ByVal () As Byte, _
ByVal As Double, _
ByVal As Double _
)
'Usage
Dim securityPolicyUriString As String
Dim firstTokenId As Long
Dim keys() As Byte
Dim timeToNextKey As Double
Dim keyLifetime As Double
Dim instance As New SecurityKeysInfo(securityPolicyUriString, firstTokenId, keys, timeToNextKey, keyLifetime)
public SecurityKeysInfo(
string ,
long ,
byte[] ,
double ,
double
)
public:
SecurityKeysInfo(
String^ ,
int64 ,
array<byte>^ ,
double ,
double
)
Parameters
- securityPolicyUriString
- The URI string for the set of algorithms and key lengths used to secure the messages.
- firstTokenId
- The security token Id of the first key in the array of keys.
- keys
- An array of keys, ordered by the sequence in which they are used.
- timeToNextKey
- The time before the current key is expected to expire. In milliseconds.
- keyLifetime
- The lifetime of a key. In milliseconds.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also